package com.lyl.momanapp.activity.help;

import android.content.Intent;
import android.view.View;

import com.lyl.momanapp.R;
import com.lyl.momanapp.activity.MainActivity;
import com.lyl.momanapp.util.view.MyBaseActivity;

/**
 * 名字 梁亚龙
 * 时间 2017/12/5.
 * QQ邮箱 503934353@qq.com
 */

public class Help1Acitivty extends MyBaseActivity {
    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.fanhui:{
                finish();
            }
            break;
            case R.id.zhuye: {

                startActivity(new Intent(Help1Acitivty.this, MainActivity.class));

            }
            break;
            case R.id.help_1_1:{
                startActivity(new Intent(Help1Acitivty.this, Help11Activity.class));

            }
            break;
            case R.id.help_1_2:{
                startActivity(new Intent(Help1Acitivty.this, Help12Activity.class));

            }
            break;
            case R.id.help_1_3:{
                startActivity(new Intent(Help1Acitivty.this, Help13Activity.class));

            }
            break;
            case R.id.help_1_5:{
                startActivity(new Intent(Help1Acitivty.this, Help15Activity.class));

            }
            break;
        }

    }



    @Override
    public void initUI() {
        setContentView(R.layout.activity_help_1);
        findViewById(R.id.fanhui).setOnClickListener(this);
        findViewById(R.id.zhuye).setOnClickListener(this);
        findViewById(R.id.help_1_1).setOnClickListener(this);
        findViewById(R.id.help_1_2).setOnClickListener(this);
        findViewById(R.id.help_1_3).setOnClickListener(this);
        findViewById(R.id.help_1_4).setOnClickListener(this);
        findViewById(R.id.help_1_5).setOnClickListener(this);

    }

    @Override
    public void initData() {

    }

    @Override
    public void addListeners() {

    }
}
